package com.simon.annual.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the project_scope database table.
 * 
 */
@Entity
@Table(name="project_scope")
@NamedQuery(name="ProjectScope.findAll", query="SELECT p FROM ProjectScope p")
public class ProjectScope implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int id;

	@Temporal(TemporalType.DATE)
	@Column(name="bgn_date")
	private Date bgnDate;

	@Column(name="company_id")
	private int companyId;

	@Temporal(TemporalType.DATE)
	@Column(name="end_date")
	private Date endDate;

	@Column(name="is_consolidated")
	private byte isConsolidated;

	@Column(name="major_status")
	private String majorStatus;

	@Column(name="minor_status")
	private String minorStatus;

	@Column(name="preceding_id")
	private int precedingId;

	@Column(name="project_id")
	private int projectId;

	public ProjectScope() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Date getBgnDate() {
		return this.bgnDate;
	}

	public void setBgnDate(Date bgnDate) {
		this.bgnDate = bgnDate;
	}

	public int getCompanyId() {
		return this.companyId;
	}

	public void setCompanyId(int companyId) {
		this.companyId = companyId;
	}

	public Date getEndDate() {
		return this.endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public byte getIsConsolidated() {
		return this.isConsolidated;
	}

	public void setIsConsolidated(byte isConsolidated) {
		this.isConsolidated = isConsolidated;
	}

	public String getMajorStatus() {
		return this.majorStatus;
	}

	public void setMajorStatus(String majorStatus) {
		this.majorStatus = majorStatus;
	}

	public String getMinorStatus() {
		return this.minorStatus;
	}

	public void setMinorStatus(String minorStatus) {
		this.minorStatus = minorStatus;
	}

	public int getPrecedingId() {
		return this.precedingId;
	}

	public void setPrecedingId(int precedingId) {
		this.precedingId = precedingId;
	}

	public int getProjectId() {
		return this.projectId;
	}

	public void setProjectId(int projectId) {
		this.projectId = projectId;
	}

}